#ifndef MaxwellianFunctor_hpp
#define MaxwellianFunctor_hpp

#include "functors/IIntegrableFunctor.hpp"

class MaxwellianFunctor : public IIntegrableFunctor {
	public:
		MaxwellianFunctor();
		MaxwellianFunctor(const MaxwellianFunctor &func);
		MaxwellianFunctor(double _vth, double _vd);
		~MaxwellianFunctor();
		virtual double operator() (double x);
		virtual double integrate(double a, double b);
	private:
		double vth,vd,vthsq,prefac;
};

#endif
